const orgs = require("../../sql/orgs");
const sql = require('../../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{

   sql.get(orgs,req.fields).then((data)=>{
    data.reverse();
    res.send({
        code:0,
        msg:"获取成功",
        data,
    })
   })
}